package org.nanotek.tika.tests;

/**
 * Base clazz to encapsulate a target analyzer for configuration on spring. 
 */
import java.io.Reader;

import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;

public class LuceneAnalyzerBase extends Analyzer {

	private Analyzer analyzer; 
	
	public Analyzer getAnalyzer() {
		return analyzer;
	}
	
	public void setAnalyzer(Analyzer analyzer) {
		this.analyzer = analyzer;
	}

	@Override
	protected TokenStreamComponents createComponents(String fieldName,
			Reader reader) {
	return null;
	}
	
}
